package template_method_pattern.impl;

import template_method_pattern.Trip;

/**
 * @author 申书航
 * @version 1.0
 */
public class ComboB extends Trip {
    @Override
    public void goTransport() {
        System.out.println("乘坐火车出发");
    }

    @Override
    public void day1() {
        System.out.println("去海洋馆游玩");
    }

    @Override
    public void day2() {
        System.out.println("去博物馆参观");
    }

    @Override
    public void day3() {
        System.out.println("去小吃街");
    }

    @Override
    public void backTransport() {
        System.out.println("乘坐火车返回");
    }
}
